.page{
  padding-bottom: 50rpx;
}
.evaluate-goods{
  padding: 0 30rpx;
  background-color: #ffffff;
  border-radius: 0 0 20rpx 20rpx;
  .list{
    display: flex;
    align-items: center;
    width: 100%;
    height: 160rpx;
    .picture{
      width: 120rpx;
      height: 120rpx;
      margin-right: 20rpx;
      image{
        width: 100%;
        height: 100%;
        border-radius: 10rpx;
      }
    }
    .item{
      height: 120rpx;
      .title{
        display: flex;
        align-items: center;
        height: 60rpx;
        color: #222222;
      }
      .star-list{
        display: flex;
        align-items: center;
        .star{
          display: flex;
          align-items: center;
          text{
            font-size: 38rpx;
            margin-right: 10rpx;
          }
          .ac{
            color: $base;
          }
        }
        .hint{
          display: flex;
          align-items: center;
          margin-left: 40rpx;
          text{
            font-size: 26rpx;
            color: #222222;
          }
        }
      }
    }
  }
}
/*填写*/
.input-info{
  padding: 0 30rpx;
  margin: 30rpx auto;
  background-color: #ffffff;
  border-radius: 20rpx;
  .input-title{
    display: flex;
    align-items: center;
    width: 100%;
    height: 80rpx;
    border-bottom: 1px solid #F6f6f6;
    text{
      font-size: 26rpx;
      color: #222222;
    }
  }
  .input-text{
    width: 100%;
    height: 280rpx;
    padding: 20rpx 0;
    textarea{
      width: 100%;
      height: 200rpx;
      font-size: 24rpx;
      color: #222222;
    }
    .record-text{
      display: flex;
      align-items: center;
      justify-content: flex-end;
      width: 100%;
      height: 40rpx;
      text{
        font-size: 24rpx;
        color: #999999;
      }
      .ac{
        color: $base;
      }
    }
  }
  .anonymous{
    display: flex;
    align-items: center;
    width: 100%;
    height: 80rpx;
    text{
      margin-left: 20rpx;
      font-size: 26rpx;
      color: #222222;
    }
  }
}
/* 上传图片 */
.upload-img {
  padding: 0 30rpx 30rpx;
  margin: 30rpx auto;
  background-color: #ffffff;
  border-radius: 20rpx;
  
  .img-title {
    display: flex;
    align-items: center;
    height: 80rpx;
    border-bottom: 1rpx solid #f6f6f6;
    
    text {
      font-size: 28rpx;
      color: #222;
    }
  }

  .img-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20rpx;
    padding-top: 30rpx;

    .list {
      position: relative;
      aspect-ratio: 1;
      border-radius: 12rpx;
      overflow: hidden;
      transition: all 0.3s ease;

      // 已上传图片样式
      image {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }

      // 删除按钮
      .icon-close1 {
        position: absolute;
        right: 8rpx;
        top: 8rpx;
        padding: 6rpx;
        background: rgba(0,0,0,0.5);
        border-radius: 50%;
        color: #fff !important;
        font-size: 28rpx !important;
        opacity: 0;
        transition: opacity 0.3s ease;
      }

      // 悬停效果
      &:hover {
        transform: scale(0.98);
        .icon-close1 {
          opacity: 1;
        }
      }

      // 上传按钮样式
      &.up-img {
        border: 2rpx dashed #ddd;
        background: #f8f8f8;
        
        image {
          width: 60rpx;
          height: 60rpx;
          opacity: 0.6;
        }

        &:active {
          background: #f0f0f0;
        }
      }
    }
  }
}
/*提交*/
.submit-btn{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100rpx;
  margin-top: 100rpx;
  .btn{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    height: 70rpx;
    background: linear-gradient(to right,$base,$change-clor);
    box-shadow: 0 0 10rpx $base;
    border-radius: 80rpx;
    text{
      font-size: 28rpx;
      color: #ffffff;
    }
  }
}

.rating-container {
  padding: 20rpx;
  background: #fff;
  
  .rating-title {
    font-size: 32rpx;
    color: #333;
    margin-bottom: 20rpx;
  }

  .star-rating {
    display: flex;
    align-items: center;
    
	.stars {
	  display: flex;
	  margin-right: 30rpx;
	  
	  .cuIcon-favorfill {
		font-size: 38rpx;
		margin-right: 10rpx;
		cursor: pointer; // 鼠标悬停时显示为手型
		transition: color 0.2s ease; // 颜色过渡动画
		
		&.filled {
		  color: #ffb300; // 实心星颜色
		}
		
		&.hollow {
		  color: #ddd; // 空心星颜色
		}
		
		&:hover {
		  opacity: 0.8; // 悬停时透明度变化
		}
	  }
	}
    
    .rating-label {
      font-size: 28rpx;
      color: #666;
    }
  }
}
.submit-btn {
  .btn.disabled {
    opacity: 0.6;
    pointer-events: none;
  }
  
  .star-rating {
    display: flex;
    align-items: center;
    
    .stars {
      display: flex;
      margin-right: 30rpx;
      
      .cuIcon-favorfill {
        font-size: 38rpx;
        margin-right: 10rpx;
        cursor: pointer; // 鼠标悬停时显示为手型
        transition: color 0.2s ease; // 颜色过渡动画
        
        &.filled {
          color: #ffb300; // 实心星颜色
        }
        
        &.hollow {
          color: #ddd; // 空心星颜色
        }
        
        &:hover {
          opacity: 0.8; // 悬停时透明度变化
        }
      }
    }
  }
}
